package com.cssl.controller;

import com.cssl.dao.PerRoleMapper;
import com.cssl.pojo.PerRole;
import com.cssl.serice.PerRoleMapperSerice;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;
//岗位端口号：8160
@RestController
public class PerRoleController {


    @Resource
    private PerRoleMapperSerice roleMapperSerice;

    //解聘信息岗位查询
    @RequestMapping("/station")
    public List<PerRole> station(){
        return  roleMapperSerice.list();
    }
}
